#!/bin/bash

PASS=${SS_PASSWORD:-$(pwgen -s 12 1)}

ssserver -p $SS_PORT -k $PASS -m $SS_METHOD --user nobody -d start

echo "========================================================================"
echo ""
echo "connect shadowsocks use password:'$PASS' method:'$SS_METHOD' port:'$SS_PORT' "
echo ""
echo "========================================================================"
